﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace PPAP.Web.Common.UserControl
{
    public partial class TestControl : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Menu1_MenuItemClick(object sender, MenuEventArgs e)
        {
            for (int i = 0; i <= Menu1.Items.Count - 1; i++)
            {
                if (i.ToString() == e.Item.Value)
                {
                    Menu1.Items[i].ImageUrl = "~/Images/Tree/025.png";
                    MultiView1.ActiveViewIndex = i;
                }
                else
                {
                    Menu1.Items[i].ImageUrl = "~/Images/Tree/026.png";

                }
            }
        }
    }
}